<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>打印倒正三角</title>
	</head>
	<body>
		
		
		<script type="text/javascript" charset="UTF-8">
		var wid = 750;
			for(var i = 14; i > 0; i--){
				document.write("<hr size=10px color='red' width=" + wid +  "px />");
				wid = wid - 50;
			}
			for(var i = 0; i < 14; i++){
				document.write("<hr size=10px color='red' width=" + wid +  "px />");
				wid = wid +50;
			}	
		</script>
	</body>
</html>
